<script setup lang='ts'>
import { useRoute } from 'vue-router'
const route = useRoute()
let url = route.query.url.toString()
</script>
<template>
    <div class="vrbox box">
        <div class="controlbox">
            <img src="@/assets/img/back.png" class="btn_goback" @click="$router.replace('/en/map_vr')">
            <img src="@/assets/img/menu.png" class="btn_menu" @click="$router.replace('/en/main')" />
        </div>
        <iframe :src="url" frameborder="no" width="100%" height="100%"></iframe>
    </div>
</template>
<style lang="scss" scoped>
.vrbox {
    overflow: hidden;
}
</style>